<!DOCTYPE html>
<html lang="en">
  <head>
    <title>GridCell Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>
    <a name="//apple_ref/swift/Class/GridCell" class="dashAnchor"></a>
    <a title="GridCell Class Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">Proton Docs</a> (68% documented)</p>
        <p class="header-right"><a href="https://github.com/rajdeep/proton"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
        <div class="header-right">
          <form role="search" action="../search.json">
            <input type="text" placeholder="Search documentation" data-typeahead>
          </form>
        </div>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">Proton Reference</a>
        <img id="carat" src="../img/carat.png" alt=""/>
        GridCell Class Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/Attachment.html">Attachment</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/AttributesToggleCommand.html">AttributesToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BackgroundStyle.html">BackgroundStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BoldCommand.html">BoldCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BorderStyle.html">BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorCommandExecutor.html">EditorCommandExecutor</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorView.html">EditorView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorViewContext.html">EditorViewContext</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/FontTraitToggleCommand.html">FontTraitToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/GridCell.html">GridCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/GridView.html">GridView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ItalicsCommand.html">ItalicsCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListCommand.html">ListCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListIndentCommand.html">ListIndentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListOutdentCommand.html">ListOutdentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListTextProcessor.html">ListTextProcessor</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ShadowStyle.html">ShadowStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/StrikethroughCommand.html">StrikethroughCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableCell.html">TableCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableCellContentView.html">TableCellContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableView.html">TableView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/UnderlineCommand.html">UnderlineCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/Utility.html">Utility</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Enums/AsyncTextResolvingResult.html">AsyncTextResolvingResult</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/AttachmentSize.html">AttachmentSize</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/AttachmentType.html">AttachmentType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/BackgroundMode.html">BackgroundMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorContentMode.html">EditorContentMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorContentType.html">EditorContentType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorHeight.html">EditorHeight</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorKey.html">EditorKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridColumnWidth.html">GridColumnWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridColumnWidth/ConstrainedWidth.html">– ConstrainedWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridViewError.html">GridViewError</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/Indentation.html">Indentation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/ListLineMarker.html">ListLineMarker</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/ListMarkerDebugOption.html">ListMarkerDebugOption</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/RoundedCornerStyle.html">RoundedCornerStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/TableViewError.html">TableViewError</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions/EditorContentName.html">EditorContentName</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSAttributedString.html">NSAttributedString</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSAttributedString/Key.html">– Key</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSParagraphStyle.html">NSParagraphStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSRange.html">NSRange</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/String.html">String</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/TextProcessingPriority.html">TextProcessingPriority</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UIFont.html">UIFont</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UITextRange.html">UITextRange</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/AsyncAttachmentRenderingDelegate.html">AsyncAttachmentRenderingDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols.html#/s:6Proton23AsyncDeferredRenderableP">AsyncDeferredRenderable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AsyncTextResolving.html">AsyncTextResolving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentEncoding.html">AttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentOffsetProviding.html">AttachmentOffsetProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentTypeIdentifying.html">AttachmentTypeIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttributesDecoding.html">AttributesDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/BackgroundColorObserving.html">BackgroundColorObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/BoundsObserving.html">BoundsObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/DynamicBoundsProviding.html">DynamicBoundsProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorCommand.html">EditorCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorCommandExecutorDelegate.html">EditorCommandExecutorDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentDecoding.html">EditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentEncoder.html">EditorContentEncoder</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentEncoding.html">EditorContentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentIdentifying.html">EditorContentIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentView.html">EditorContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorListFormattingProvider.html">EditorListFormattingProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorTextEncoding.html">EditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorViewDelegate.html">EditorViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/Focusable.html">Focusable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/GridViewDelegate.html">GridViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/LineNumberProvider.html">LineNumberProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/SequenceGenerator.html">SequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/TableViewDelegate.html">TableViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/TextProcessing.html">TextProcessing</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Structs/AnyAttributeDecoding.html">AnyAttributeDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorContentAttachmentEncoding.html">AnyEditorContentAttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorContentDecoding.html">AnyEditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorTextEncoding.html">AnyEditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentContentIdentifier.html">AttachmentContentIdentifier</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentImage.html">AttachmentImage</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentSelectionStyle.html">AttachmentSelectionStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/CommandName.html">CommandName</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/DiamondBulletSequenceGenerator.html">DiamondBulletSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/EditorContent.html">EditorContent</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/EditorLine.html">EditorLine</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GradientColors.html">GradientColors</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridCellStyle.html">GridCellStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridCellStyle/BorderStyle.html">– BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridColumnConfiguration.html">GridColumnConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridConfiguration.html">GridConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridRowConfiguration.html">GridRowConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridStyle.html">GridStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/Gutter.html">Gutter</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/LineFormatting.html">LineFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/LineNumberFormatting.html">LineNumberFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/ListItem.html">ListItem</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/ListParser.html">ListParser</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/NumericSequenceGenerator.html">NumericSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/SquareBulletSequenceGenerator.html">SquareBulletSequenceGenerator</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton15AttachmentRangea">AttachmentRange</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton14AttachmentViewa">AttachmentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga">AttachmentViewIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton10Attributesa">Attributes</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton9Processeda">Processed</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton22TextProcessingPrioritya">TextProcessingPriority</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>GridCell</h1>
              <div class="declaration">
                <div class="language">
                  
                  <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">GridCell</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt"><a href="../Protocols/BoundsObserving.html">BoundsObserving</a></span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt"><a href="../Protocols/EditorViewDelegate.html">EditorViewDelegate</a></span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt">Equatable</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt">Hashable</span></code></pre>

                </div>
              </div>
            <p>Denotes a cell in the <code><a href="../Classes/GridView.html">GridView</a></code></p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC17EditorInitializera"></a>
                    <a name="//apple_ref/swift/Alias/EditorInitializer" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC17EditorInitializera">EditorInitializer</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">typealias</span> <span class="kt">EditorInitializer</span> <span class="o">=</span> <span class="p">()</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC20additionalAttributesSDySSypGvp"></a>
                    <a name="//apple_ref/swift/Property/additionalAttributes" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC20additionalAttributesSDySSypGvp">additionalAttributes</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Additional attributes that can be stored on Cell to identify various aspects like Header, Numbered etc.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">additionalAttributes</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC7rowSpanSaySiGvp"></a>
                    <a name="//apple_ref/swift/Property/rowSpan" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC7rowSpanSaySiGvp">rowSpan</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Row indexes spanned by the cell. In case of a merged cell, this will contain all the rows= indexes which are merged.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">internal(set)</span> <span class="k">var</span> <span class="nv">rowSpan</span><span class="p">:</span> <span class="p">[</span><span class="kt">Int</span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC10columnSpanSaySiGvp"></a>
                    <a name="//apple_ref/swift/Property/columnSpan" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC10columnSpanSaySiGvp">columnSpan</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Column indexes spanned by the cell. In case of a merged cell, this will contain all the column indexes which are merged.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">internal(set)</span> <span class="k">var</span> <span class="nv">columnSpan</span><span class="p">:</span> <span class="p">[</span><span class="kt">Int</span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC5frameSo6CGRectVvp"></a>
                    <a name="//apple_ref/swift/Property/frame" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC5frameSo6CGRectVvp">frame</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Frame of the cell within <code><a href="../Classes/GridView.html">GridView</a></code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">internal(set)</span> <span class="k">var</span> <span class="nv">frame</span><span class="p">:</span> <span class="kt">CGRect</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC15backgroundColorSo7UIColorCSgvp"></a>
                    <a name="//apple_ref/swift/Property/backgroundColor" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC15backgroundColorSo7UIColorCSgvp">backgroundColor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">backgroundColor</span><span class="p">:</span> <span class="kt">UIColor</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC10isSelectedSbvp"></a>
                    <a name="//apple_ref/swift/Property/isSelected" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC10isSelectedSbvp">isSelected</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Sets the cell selected</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isSelected</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC12isSelectableSbvp"></a>
                    <a name="//apple_ref/swift/Property/isSelectable" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC12isSelectableSbvp">isSelectable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Controls if the cell can be selected or not.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isSelectable</span><span class="p">:</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC19onEditorInitializedyAC_AA0E4ViewCtcSgvp"></a>
                    <a name="//apple_ref/swift/Property/onEditorInitialized" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC19onEditorInitializedyAC_AA0E4ViewCtcSgvp">onEditorInitialized</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Invoked when Editor in contained in the Cell is initialized.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">onEditorInitialized</span><span class="p">:</span> <span class="p">((</span><span class="kt">GridCell</span><span class="p">,</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC19isEditorInitializedSbvp"></a>
                    <a name="//apple_ref/swift/Property/isEditorInitialized" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC19isEditorInitializedSbvp">isEditorInitialized</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Confirms if Editor within Cell has been initialized or not.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isEditorInitialized</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC6editorAA10EditorViewCvp"></a>
                    <a name="//apple_ref/swift/Property/editor" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC6editorAA10EditorViewCvp">editor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Editor within the cell</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC12isSplittableSbvp"></a>
                    <a name="//apple_ref/swift/Property/isSplittable" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC12isSplittableSbvp">isSplittable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Denotes if the cell can be split i.e. is a merged cell.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isSplittable</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC11contentSizeSo6CGSizeVvp"></a>
                    <a name="//apple_ref/swift/Property/contentSize" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC11contentSizeSo6CGSizeVvp">contentSize</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Content size of the cell</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">contentSize</span><span class="p">:</span> <span class="kt">CGSize</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC11contentViewSo6UIViewCvp"></a>
                    <a name="//apple_ref/swift/Property/contentView" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC11contentViewSo6UIViewCvp">contentView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Content view for the cell</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">contentView</span><span class="p">:</span> <span class="kt">UIView</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC9gridStyleAA0bE0Vvp"></a>
                    <a name="//apple_ref/swift/Property/gridStyle" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC9gridStyleAA0bE0Vvp">gridStyle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">gridStyle</span><span class="p">:</span> <span class="kt"><a href="../Structs/GridStyle.html">GridStyle</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC5styleAA0bC5StyleVvp"></a>
                    <a name="//apple_ref/swift/Property/style" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC5styleAA0bC5StyleVvp">style</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">style</span><span class="p">:</span> <span class="kt"><a href="../Structs/GridCellStyle.html">GridCellStyle</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC20ignoresOptimizedInitSbvp"></a>
                    <a name="//apple_ref/swift/Property/ignoresOptimizedInit" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC20ignoresOptimizedInitSbvp">ignoresOptimizedInit</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">ignoresOptimizedInit</span><span class="p">:</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC7rowSpan06columnE013initialHeight5style9gridStyle20ignoresOptimizedInit17editorInitializerACSaySiG_AK14CoreFoundation7CGFloatVAA0bcK0VAA0bK0VSbAA10EditorViewCycSgtcfc"></a>
                    <a name="//apple_ref/swift/Method/init(rowSpan:columnSpan:initialHeight:style:gridStyle:ignoresOptimizedInit:editorInitializer:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC7rowSpan06columnE013initialHeight5style9gridStyle20ignoresOptimizedInit17editorInitializerACSaySiG_AK14CoreFoundation7CGFloatVAA0bcK0VAA0bK0VSbAA10EditorViewCycSgtcfc">init(rowSpan:<wbr>columnSpan:<wbr>initialHeight:<wbr>style:<wbr>gridStyle:<wbr>ignoresOptimizedInit:<wbr>editorInitializer:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Initializes the cell</p>
<div class="aside aside-important">
    <p class="aside-title">Important</p>
    Creating a <code><a href="../Classes/GridView.html">GridView</a></code> with 100s of cells can result in slow performance when creating an attributed string containing the GridView attachment. Using the closure defers the creation until the view is ready to be rendered in the UI.
It is recommended to setup all the parts of editor in closure where possible, or wait until after the GridView is rendered. In case, editor must be initialized before the rendering is complete and it is not possible to configure an aspect within the closure itself,
<code>setupEditor()</code> may be invoked. Use of <code>setupEditor()</code> is discouraged.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">rowSpan</span><span class="p">:</span> <span class="p">[</span><span class="kt">Int</span><span class="p">],</span>
            <span class="nv">columnSpan</span><span class="p">:</span> <span class="p">[</span><span class="kt">Int</span><span class="p">],</span>
            <span class="nv">initialHeight</span><span class="p">:</span> <span class="kt">CGFloat</span> <span class="o">=</span> <span class="mi">40</span><span class="p">,</span>
            <span class="nv">style</span><span class="p">:</span> <span class="kt"><a href="../Structs/GridCellStyle.html">GridCellStyle</a></span> <span class="o">=</span> <span class="o">.</span><span class="nf">init</span><span class="p">(),</span>
            <span class="nv">gridStyle</span><span class="p">:</span> <span class="kt"><a href="../Structs/GridStyle.html">GridStyle</a></span> <span class="o">=</span> <span class="o">.</span><span class="k">default</span><span class="p">,</span>
            <span class="nv">ignoresOptimizedInit</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span>
            <span class="nv">editorInitializer</span><span class="p">:</span> <span class="kt"><a href="../Classes/GridCell.html#/s:6Proton8GridCellC17EditorInitializera">EditorInitializer</a></span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>rowSpan</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Array of row indexes the cells spans. For e.g. a cell with first two rows as merged, will have a value of [0, 1] denoting 0th and 1st index.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>columnSpan</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Array of column indexes the cells spans. For e.g. a cell with first two columns as merged, will have a value of [0, 1] denoting 0th and 1st index.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>initialHeight</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Initial height of the cell. This will be updated based on size of editor content on load,</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>style</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Visual style of the cell</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>gridStyle</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Visual style for grid containing cell border color and width</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>ignoresOptimizedInit</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Ignores optimization to initialize editor within the cell. With optimization, the editor is not initialized until the cell is ready to be rendered on the UI thereby not incurring any overheads when creating
attributedText containing a <code><a href="../Classes/GridView.html">GridView</a></code> in an attachment. Defaults to <code>false</code>.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>editorInitializer</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Closure for setting up the <code><a href="../Classes/EditorView.html">EditorView</a></code> within the cell.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC8setFocusyyF"></a>
                    <a name="//apple_ref/swift/Method/setFocus()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC8setFocusyyF">setFocus()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Sets the focus in the <code>Editor</code> within the cell.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">setFocus</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC11removeFocusyyF"></a>
                    <a name="//apple_ref/swift/Method/removeFocus()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC11removeFocusyyF">removeFocus()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Removes the focus from the <code>Editor</code> within the cell.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">removeFocus</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC10applyStyleyyAA0bcE0VF"></a>
                    <a name="//apple_ref/swift/Method/applyStyle(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC10applyStyleyyAA0bcE0VF">applyStyle(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Applies the given style to the cell</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">applyStyle</span><span class="p">(</span><span class="n">_</span> <span class="nv">style</span><span class="p">:</span> <span class="kt"><a href="../Structs/GridCellStyle.html">GridCellStyle</a></span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>style</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Style to apply</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF"></a>
                    <a name="//apple_ref/swift/Method/didChangeBounds(_:oldBounds:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF">didChangeBounds(_:<wbr>oldBounds:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">didChangeBounds</span><span class="p">(</span><span class="n">_</span> <span class="nv">bounds</span><span class="p">:</span> <span class="kt">CGRect</span><span class="p">,</span> <span class="nv">oldBounds</span><span class="p">:</span> <span class="kt">CGRect</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton18EditorViewDelegateP6editor_17didReceiveFocusAtyAA0bC0C_So8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/editor(_:didReceiveFocusAt:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton18EditorViewDelegateP6editor_17didReceiveFocusAtyAA0bC0C_So8_NSRangeVtF">editor(_:<wbr>didReceiveFocusAt:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">editor</span><span class="p">(</span><span class="n">_</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span><span class="p">,</span> <span class="n">didReceiveFocusAt</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/editor(_:didLoseFocusFrom:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF">editor(_:<wbr>didLoseFocusFrom:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">editor</span><span class="p">(</span><span class="n">_</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span><span class="p">,</span> <span class="n">didLoseFocusFrom</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF"></a>
                    <a name="//apple_ref/swift/Method/editor(_:didTapAtLocation:characterRange:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF">editor(_:<wbr>didTapAtLocation:<wbr>characterRange:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">editor</span><span class="p">(</span><span class="n">_</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span><span class="p">,</span> <span class="n">didTapAtLocation</span> <span class="nv">location</span><span class="p">:</span> <span class="kt">CGPoint</span><span class="p">,</span> <span class="nv">characterRange</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">?)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF"></a>
                    <a name="//apple_ref/swift/Method/editor(_:didChangeSelectionAt:attributes:contentType:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF">editor(_:<wbr>didChangeSelectionAt:<wbr>attributes:<wbr>contentType:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">editor</span><span class="p">(</span><span class="n">_</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span><span class="p">,</span> <span class="n">didChangeSelectionAt</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">,</span> <span class="nv">attributes</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">],</span> <span class="nv">contentType</span><span class="p">:</span> <span class="kt"><a href="../Structs/EditorContent.html">EditorContent</a></span><span class="o">.</span><span class="kt">Name</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton18EditorViewDelegateP6editor_13didReceiveKey2atyAA0bC0C_AA0bH0OSo8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/editor(_:didReceiveKey:at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton18EditorViewDelegateP6editor_13didReceiveKey2atyAA0bC0C_AA0bH0OSo8_NSRangeVtF">editor(_:<wbr>didReceiveKey:<wbr>at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">editor</span><span class="p">(</span><span class="n">_</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span><span class="p">,</span> <span class="n">didReceiveKey</span> <span class="nv">key</span><span class="p">:</span> <span class="kt"><a href="../Enums/EditorKey.html">EditorKey</a></span><span class="p">,</span> <span class="n">at</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC6editor_24didChangeBackgroundColor03oldH0yAA10EditorViewC_So7UIColorCSgAKtF"></a>
                    <a name="//apple_ref/swift/Method/editor(_:didChangeBackgroundColor:oldColor:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC6editor_24didChangeBackgroundColor03oldH0yAA10EditorViewC_So7UIColorCSgAKtF">editor(_:<wbr>didChangeBackgroundColor:<wbr>oldColor:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">editor</span><span class="p">(</span><span class="n">_</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorView.html">EditorView</a></span><span class="p">,</span> <span class="n">didChangeBackgroundColor</span> <span class="nv">color</span><span class="p">:</span> <span class="kt">UIColor</span><span class="p">?,</span> <span class="nv">oldColor</span><span class="p">:</span> <span class="kt">UIColor</span><span class="p">?)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:SQ2eeoiySbx_xtFZ"></a>
                    <a name="//apple_ref/swift/Method/==(_:_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:SQ2eeoiySbx_xtFZ">==(_:<wbr>_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="o">==</span> <span class="p">(</span><span class="nv">lhs</span><span class="p">:</span> <span class="kt">GridCell</span><span class="p">,</span> <span class="nv">rhs</span><span class="p">:</span> <span class="kt">GridCell</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:SH4hash4intoys6HasherVz_tF"></a>
                    <a name="//apple_ref/swift/Method/hash(into:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:SH4hash4intoys6HasherVz_tF">hash(into:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">hash</span><span class="p">(</span><span class="n">into</span> <span class="nv">hasher</span><span class="p">:</span> <span class="k">inout</span> <span class="kt">Hasher</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2024 <a class="link" href="" target="_blank" rel="external noopener">Rajdeep Kwatra</a>. All rights reserved. (Last updated: 2024-05-15)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</html>
